package com.financial.business.yspay.service.asyn;

import com.financial.business.yspay.domain.asyn.FinancialPaymentAsyncDO;
import com.financial.business.yspay.utils.apiresult.ApiResult;

import java.util.List;
import java.util.Map;

/**
 * 金融转账异步回执表
 * 
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-11-19 11:49:42
 * @des
 */

public interface FinancialPaymentAsyncService {
	
	FinancialPaymentAsyncDO get(Integer id);
	
	List<FinancialPaymentAsyncDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FinancialPaymentAsyncDO financialPaymentAsync);
	
	int update(FinancialPaymentAsyncDO financialPaymentAsync);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 银盛代付
	 * @param requestParam
	 * @return
	 */
	ApiResult ysPayment(String requestParam);

	/**
	 * 通过map查询一条代付记录
	 * @param condMap
	 * @return
	 */
	String query(Map<String,Object> condMap);
}
